/**
 * Copyright (C), 2020-2021 by colley.ma
 * File Name: EntityObject.java
 * Encoding: UTF-8
 * Date: 2021年3月17日 下午3:23:06
 * History:
*/
package com.swak.frame.dto;

import java.util.Date;

import com.swak.frame.dto.base.Entity;

/**
 * 数据库实体类
 * ClassName: EntityObject.java 
 * @author colley.ma
 * @date 2021年3月17日 下午3:26:18
 */
public class EntityObject extends Entity {
	private static final long serialVersionUID = -7034622947862973269L;
	
	private Long id;

	/** 是否删除 */
	private Integer isDeleted;
	
	private Integer isEnabled;

	/** 数据创建时间 */
	private Date gmtCreate;

	/** 数据最后更新时间 */
	private Date gmtModified;

	/** 数据的创建人 */
	private String createOperator;

	/** 数据的最后更新人 */
	private String updateOperator;

	/** 用户的IP */
	private String userIp;

	/** 服务器的IP */
	private String serverIp;

	/** 版本号，用于乐观锁 */
	private Long version;

	/** 请求ID **/
	private String requestId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Integer getIsEnabled() {
		return isEnabled;
	}

	public void setIsEnabled(Integer isEnabled) {
		this.isEnabled = isEnabled;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getCreateOperator() {
		return createOperator;
	}

	public void setCreateOperator(String createOperator) {
		this.createOperator = createOperator;
	}

	public String getUpdateOperator() {
		return updateOperator;
	}

	public void setUpdateOperator(String updateOperator) {
		this.updateOperator = updateOperator;
	}

	public String getUserIp() {
		return userIp;
	}

	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}

	public String getServerIp() {
		return serverIp;
	}

	public void setServerIp(String serverIp) {
		this.serverIp = serverIp;
	}

	public Long getVersion() {
		return version;
	}

	public void setVersion(Long version) {
		this.version = version;
	}

	public String getRequestId() {
		return requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}
}
